/**
系统附件管理样式
 */
.ant-layout-sider {
  .ant-layout-sider-children {
    .atom-sider-top {
      background: @primary-color;
      color: #FFFFFF;
      .atom-title.prefix {
        cursor: pointer;
        justify-content: center;
        color: #FFFFFF;
        .anticon {
          color: #FFFFFF;
          font-size: 32px;
        }
      }
    }
  }
  &.ant-layout-sider-collapsed {
    .ant-layout-sider-children {
      .atom-sider-top {
        padding: 8px 4px;
        .anticon {
          font-size: 32px;
        }
      }
    }
  }
}
/*搜索边框*/
.atom-sysfile-search.ant-input-affix-wrapper {
  width: 200px;
  border: none;
  &.ant-input-affix-wrapper-focused {
    box-shadow: none;
  }
  .ant-input {
    border-bottom: 1px solid @border-color-base;
    border-radius: 0;
    &:hover, &:focus {
      border-bottom-color: @primary-5;
    }
  }
}
/*文件新增*/
.atom-sysfile-add {
  margin-left: 16px;
}
.atom-sysfile-add-menu {
  .ant-dropdown-menu-item {
    line-height: 32px;
    .anticon {
      font-size: 16px;
    }
  }
}
.atom-sysfile-dropdown {
  .ant-dropdown-menu-item {
    line-height: 32px;
    &:not(.has-icon) {
      padding-left: 32px;
    }
  }
}
/*公共上传部分样式*/
.atom-sysfile-upload {
  display: none;
}
/*文件目录屑样式*/
.atom-sysfile-breadcrumb {
  .ant-breadcrumb-link {
    cursor: pointer;
  }
}
/*文件内容card*/
.atom-sysfile-content {
  display: flex;
  flex-direction: column;
  .ant-card-body {
    flex: 1;
    overflow-y: auto;
    .atom-sysfile-empty {
      .ant-upload {
        border: none;
        background: none;
        p {
          color: @text-color-secondary;
          margin: 16px 0;
        }
        .atom-sysfile-empty-upload {
          width: 400px;
          margin: 0 auto;
          display: flex;
          align-items: center;
          justify-content: space-between;
          .atom-sysfile-empty-upload-item {
            width: 120px;
            background: @layout-body-background;
            padding: 16px 24px;
            border-radius: 8px;
            .anticon {
              display: block;
              font-size: 48px;
              margin-top: 24px;
              &.anticon-folder-add {
                color: @purple-6;
              }
              &.anticon-file-add {
                color: @orange-6;
              }
              &.anticon-folder-open {
                color: @blue-6;
              }
            }
          }
        }
      }
    }
  }
}
/*列表样式*/
.atom-sysfile-list {
  .ant-table {
    .ant-table-content {
      .ant-table-body {
        .ant-table-thead {
          tr .ant-table-selection-column {
            width: auto;
            min-width: auto;
            padding-left: 0;
            .ant-table-header-column {
              visibility: hidden;
            }
          }
        }
        .ant-table-tbody {
          .ant-table-row {
            /*选择器*/
            .ant-table-selection-column {
              width: auto;
              min-width: auto;
              padding-left: 0;
            }
            /*文件名称*/
            .atom-sysfile-name {
              display: flex;
              align-items: center;
              cursor: pointer;
              .anticon {
                font-size: 28px;
              }
              .atom-sysfile-name-title {
                flex: 1;
                margin-left: 8px;
                overflow:hidden;
                text-overflow:ellipsis;
                white-space:nowrap;
              }
              .anticon-ellipsis {
                font-size: 14px;
              }
              /*操作菜单*/
              .ant-dropdown {
                .ant-dropdown-menu {
                  .ant-dropdown-menu-item {
                    padding: 8px 16px;
                  }
                }
                .atom-sysfile-operate-delete {
                  .ant-dropdown-menu-title-content {
                    color: @error-color;
                  }
                  &:hover {
                    background-color: @alert-error-bg-color;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
